package com.zr.stock.stockIdentification.mapper;

import com.zr.stock.model.Stockidentification;
import com.zr.stock.stockIdentification.modelVo.IdentificationAddVo;
import com.zr.stock.stockIdentification.modelVo.IdentificationQueryVo;
import com.zr.stock.stockIdentification.modelVo.IdentificationUpdateVo;
import com.zr.stock.stockIdentification.modelVo.UpdateStatusVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface IdentificationMapper {
    List<Stockidentification> queryPage(IdentificationQueryVo identificationQueryVo);

    int queryCount(IdentificationQueryVo identificationQueryVo);

    IdentificationAddVo queryByCode(String code);

    IdentificationAddVo queryByName(String name);

    void add(IdentificationAddVo identificationAddVo);

    void updateStatus(UpdateStatusVO updateStatusVO);

    void update(IdentificationUpdateVo identificationUpdateVo);
}
